<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                template="/admin.xhtml">

    <ui:define name="head">
        <title>Pf-Boot-Admin</title>
        <link rel="shortcut icon" type="image/x-icon" href="#{resource['favicon/favicon.ico']}"/>
        <link rel="shortcut icon" type="image/x-icon" href="#{resource['favicon/favicon-16x16.png']}" sizes="16x16"/>
        <link rel="shortcut icon" type="image/x-icon" href="#{resource['favicon/favicon-32x32.png']}" sizes="32x32"/>
        <link rel="shortcut icon" type="image/x-icon" href="#{resource['favicon/favicon-96x96.png']}" sizes="96x96"/>
        <link rel="manifest" href="#{request.contextPath}/manifest.json"/>
        <meta name="theme-color" content="#444"/>
        <meta name="mobile-web-app-capable" content="yes"/>
        <f:loadBundle var="msg" basename="admin"/>
        <h:outputStylesheet library="css" name="starter.css"/>
    </ui:define>

    <!--顶栏-->
    <ui:define name="top-menu">
        <ui:include src="/includes/top-bar.xhtml"/>
    </ui:define>

    <!--左侧边栏-->
    <ui:define name="menu">
        <ui:include src="/includes/menu-left.xhtml"/>
    </ui:define>

    <!--左侧边栏展开时的logo-->
    <ui:define name="logo">
        Pf-Boot-Admin
    </ui:define>

    <!--左侧边栏折叠时的logo-->
    <ui:define name="logo-mini">
        PBA
    </ui:define>

    <!--右侧边栏定义-->
    <ui:define name="controlsidebar-tabs">
        <li><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"/></a></li>
        <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"/></a></li>
    </ui:define>

    <!--右侧边栏内容-->
    <ui:define name="controlsidebar-content">
        <ui:include src="/includes/controlsidebar-content.xhtml"/>
    </ui:define>

    <!--底栏-->
    <ui:define name="footer">
        <ui:include src="/includes/footer.xhtml"/>
    </ui:define>

</ui:composition>